Fix gtk_file_chooser_error_stack_set_custom_error
authorMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 14:43:51 +0000 (10:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 16:15:08 +0000 (12:15 -0400)
This never worked, due to a typo.

gtk/gtkfilechoosererrorstack.c

index 9020946626c348caf09a1c4d863c22cc0dde60bb..6f9cf89d2291d4d0e6c31c8adbf1c2feb7abdc5c 100644 (file)
@@ -148,7 +148,7 @@ void
 gtk_file_chooser_error_stack_set_custom_error  (GtkFileChooserErrorStack *self,
                                                 const char               *label_text)
 {
-  GtkWidget *label = gtk_stack_get_child_by_name (GTK_STACK (self->stack), "cutsom");
+  GtkWidget *label = gtk_stack_get_child_by_name (GTK_STACK (self->stack), "custom");
 
   gtk_label_set_text (GTK_LABEL (label), label_text);